package com.lihuu.easytext.analysis.api;

/**
 * @author lihu <1449488533qq@gmail.com>
 * @since 2021/5/5 20:46
 */
public interface Analyzer {
    /**
     * Get name of this analyzer
     *
     * @return
     */
    String getName();

    /**
     * analyze this text
     *
     * @param text
     * @return
     */
    double analyze(String text);
}
